package com.jingdianjichi.application.convent;

import com.jingdianjichi.application.Dto.SubjectCategoryDTO;
import com.jingdianjichi.subject.domain.entity.SubjectCategoryBo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectCategoryDTOConventer {

    SubjectCategoryDTOConventer INSERT = Mappers.getMapper(SubjectCategoryDTOConventer.class);

    SubjectCategoryBo conventBoToCategory(SubjectCategoryDTO subjectCategoryDto);


    List<SubjectCategoryDTO> conventToDTOCategory(List<SubjectCategoryBo> subjectCategoryBo);
}
